#pragma config(Hubs,  S1, HTMotor,  HTMotor,  none,     none)
#pragma config(Hubs,  S2, HTMotor,  HTServo,  none,     none)
#pragma config(Sensor, S3,     seekerX,        sensorHiTechnicIRSeeker1200)
#pragma config(Sensor, S4,     seekerY,        sensorHiTechnicIRSeeker1200)
#pragma config(Motor,  mtr_S1_C1_1,     fl,            tmotorTetrix, PIDControl, encoder)
#pragma config(Motor,  mtr_S1_C1_2,     fr,            tmotorTetrix, PIDControl, reversed, encoder)
#pragma config(Motor,  mtr_S1_C2_1,     aux1,          tmotorTetrix, openLoop, encoder)
#pragma config(Motor,  mtr_S1_C2_2,     aux2,          tmotorTetrix, openLoop, reversed, encoder)
#pragma config(Motor,  mtr_S2_C1_1,     bl,            tmotorTetrix, openLoop, encoder)
#pragma config(Motor,  mtr_S2_C1_2,     br,            tmotorTetrix, openLoop, reversed, encoder)
#pragma config(Servo,  srvo_S2_C2_1,    grab1,                tServoStandard)
#pragma config(Servo,  srvo_S2_C2_2,    grab2,                tServoStandard)
#pragma config(Servo,  srvo_S2_C2_3,    ramp,                 tServoContinuousRotation)
#pragma config(Servo,  srvo_S2_C2_4,    servo4,               tServoNone)
#pragma config(Servo,  srvo_S2_C2_5,    servo5,               tServoNone)
#pragma config(Servo,  srvo_S2_C2_6,    servo6,               tServoNone)

int Xcor;
int Ycor;


void readX()
{
		if(sensorvalue(seekerX) < 5;
		{
			Xcor = 1;

		}

		if(sensorvalue(seekerX) == 5;
		{
			Xcor = 2;
		}

		if(sensorvalue(seekerX) > 5;
		{
			Xcor = 3;
		}

}

void readY()
{
		if(sensorvalue(seekerY) < 5;
		{
			Ycor = 4;

		}

		if(sensorvalue(seekerY) == 5;
		{
			Ycor = 8;
		}

		if(sensorvalue(seekerY) > 5;
		{
			Ycor = 12;
		}

}
